﻿<Window
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" x:Name="PASWindow" x:Class="TTIServer.TTISettings.Pages.PASWindowClass" Height="542.131" Width="797.5" Loaded="PASWindow_Loaded" WindowStyle="None" ResizeMode="NoResize" ShowInTaskbar="False" Unloaded="PASWindow_Unloaded" AllowsTransparency="True" WindowStartupLocation="CenterScreen" Topmost="True" Visibility="Collapsed" Opacity="0">
	<Window.Resources>
		<Storyboard x:Key="FadeOut" x:Name="myFadeOut" Completed="FadeOutCompleted">
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="PASWindow">
				<EasingDoubleKeyFrame KeyTime="0" Value="0.75"/>
				<EasingDoubleKeyFrame KeyTime="0:0:1" Value="0"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
		<Storyboard x:Key="FadeIn" x:Name="myFadeIn" Completed="FadeInCompleted">
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="PASWindow">
				<EasingDoubleKeyFrame KeyTime="0" Value="0"/>
				<EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="0.75"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
	</Window.Resources>
	<Window.Background>
		<ImageBrush ImageSource="/TTIServer;component/Resources/TTIMonitor16x10.png"/>
	</Window.Background>
	<Window.Triggers>
		<EventTrigger RoutedEvent="FocusManager.GotFocus"/>
		<EventTrigger RoutedEvent="FrameworkElement.Loaded"/>
	</Window.Triggers>

	<Window.Effect>
		<DropShadowEffect/>
	</Window.Effect>
	<Grid x:Name="LayoutGrid">
		<VisualStateManager.VisualStateGroups>
			<VisualStateGroup x:Name="VisualStateGroup"/>
		</VisualStateManager.VisualStateGroups>
		<Canvas x:Name="PASMasterCanvas" Height="400" Margin="83,54,74.5,0" VerticalAlignment="Top" Width="640" Background="Black">
			<Rectangle Height="400" Stroke="Black" Width="640" StrokeThickness="10"/>
			<Image x:Name="PASScrImg" Height="400" Width="640"  Stretch="Fill" HorizontalAlignment="Left" VerticalAlignment="Top" Canvas.Left="1"/>
			<!--<Rectangle x:Name="PASRectangle" Height="225" Width="300" MinWidth="8" StrokeThickness="2" Opacity="0.85" Stroke="Red" Fill="#FF979797" RenderTransformOrigin="0.5,0.5">
				<Rectangle.RenderTransform>
					<TransformGroup>
						<ScaleTransform/>
						<SkewTransform/>
						<RotateTransform/>
						<TranslateTransform/>
					</TransformGroup>
				</Rectangle.RenderTransform>
			</Rectangle>-->
		</Canvas>
		<Label x:Name="XLabel" Content="X:" Margin="98,412,513,0" FontFamily="Segoe UI" VerticalAlignment="Top" Height="42" Visibility="Hidden"/>
		<Label x:Name="YLabel" Content="Y:" Margin="478,412,129,0" VerticalAlignment="Top" Height="44" Visibility="Hidden"/>

	</Grid>
</Window>
